/*
CREATE TABLE "base_de_gtf_major_relation" (
  "sequence_nbr" varchar PRIMARY KEY NOT NULL,
  "add_rate_height" varchar,
  "fgjzgc" varchar,
  "lhgc" varchar,
  "ylgc" varchar,
  "gjxsgc" varchar,
  "rec_user_code" varchar,
  "rec_status" varchar DEFAULT ('A'),
  "rec_date" varchar,
  "extend1" varchar,
  "extend2" varchar,
  "extend3" varchar,
  "description" varchar,
  "default_flag" decimal
);
*/

use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseDeGtfMajorRelation {
    pub sequence_nbr: String,
    pub add_rate_height: Option<String>,
    pub fgjzgc: Option<String>,
    pub lhgc: Option<String>,
    pub ylgc: Option<String>,
    pub gjxsgc: Option<String>,
    pub rec_user_code: Option<String>,
    pub rec_status: Option<String>,
    pub rec_date: Option<String>,
    pub extend1: Option<String>,
    pub extend2: Option<String>,
    pub extend3: Option<String>,
    pub description: Option<String>,
    pub default_flag: Option<f64>,
}
crud!(BaseDeGtfMajorRelation {}, "base_de_gtf_major_relation");
